<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/jquery.js"></script>
    <script src="../js/common.js"></script>
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/callus.css">
    <script src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=gfmmaqEpOFVWQ8BWP3PKBWdFrYZMD8kY"></script>
</head>
<body>
<div id="top"></div>
<div class="middle">
    <div>
        <div>联系我们</div>
        <div>
            <div id="container"></div>
            <div>
                <div>
                    <div>品质至上，诚信为重，用心服务，以质量领先，我们真诚与您合作，</div>
                    <div>竭诚为您服务!</div>
                </div>
                <div>Quality first, integrity oriented, hard service, leading technology, we sincerely cooperate with
                    you, for your dedicated service!
                </div>

            </div>
        </div>
    </div>
</div>
<div id="foot"></div>
</body>
</html>
<script>
    var map = new BMapGL.Map('container'); // 创建Map实例
    var point=new BMapGL.Point(104.066145,30.579124);// 初始化地图,设置中心点坐标和
    map.centerAndZoom(point, 20);//地图级别
    map.enableScrollWheelZoom(true); // 开启鼠标滚轮缩放
    // map.setHeading(64.5);
    // map.setTilt(73);
    var marker = new BMapGL.Marker(point);
    map.addOverlay(marker);
    // 创建信息窗口
    var opts = {
        width: 200,
        height: 100,
        title: '故宫博物院'
    };
    var infoWindow = new BMapGL.InfoWindow('地址：北京市东城区王府井大街88号乐天银泰百货八层', opts);
    // 点标记添加点击事件
    marker.addEventListener('click', function () {
        map.openInfoWindow(infoWindow, point); // 开启信息窗口
    });
</script>